Apple, the Apple logo, and Macintosh are registered trademarks of Apple Computer, Inc.
Mac and OpenDoc are trademarks of Apple Computer, Inc.
Introduction
When a saved document is opened, OpenDoc retrieves the root frame of each saved window, and calls the Open() method of the part belonging to that frame, passing it the frame. The part is responsible for recreating the platform window and creating an ODWindow using the RegisterWindowForFrame method.
The properties of the window are saved in a storage unit referenced from the root frame. The utility functions BeginGetWindowProperties and EndGetWindowProperties can be used to retrieve these properties without using the Storage API directly.
Window Properties
The root frame of a saved window has the following persistent property:
Property Type
kODPropWindowProperties kODStrongStorageUnitRef
This window properties storage unit has the following properties:
BeginGetWindowProperties retrieves the window properties from the specified root frame, and returns kODTrue if the properties were present. The properties are returned in the following struct: